From 7bb2da7c05548b7fd57d80c0d3f66de08257a4df Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Tue, 15 Mar 2005 21:03:36 +0000 Subject: [PATCH] enable turck/eaccellerator for apache2handler as well --- config/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.php b/config/index.php index fe366ead1f..9b93debc24 100644 --- a/config/index.php +++ b/config/index.php @@ -1084,8 +1084,8 @@ if ( \$wgCommandLineMode ) { ## Shared memory settings \$wgUseMemCached = $memcached; \$wgMemCachedServers = $mcservers; -{$turck}\$wgUseTurckShm = function_exists( 'mmcache_get' ) && php_sapi_name() == 'apache'; -{$turck}\$wgUseEAccelShm = function_exists( 'eaccelerator_get' ) && php_sapi_name() == 'apache'; +{$turck}\$wgUseTurckShm = function_exists( 'mmcache_get' ) && ( php_sapi_name() == 'apache' || php_sapi_name() == 'apache2handler' ); +{$turck}\$wgUseEAccelShm = function_exists( 'eaccelerator_get' ) && ( php_sapi_name() == 'apache' || php_sapi_name() == 'apache2handler' ); ## To enable image uploads, make sure the 'images' directory ## is writable, then uncomment this: -- 2.20.1